package field_method04;

public class Cylinder extends Circle {
    private double length;

    public Cylinder() {
        length = 2;
    }

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double findVolume() {
        double findVolume = length * findArea();
        return findVolume;
    }
}



